raar.behaviour
Class RACompareObject
java.lang.Object
raar.behaviour.RACompareObject
- All Implemented Interfaces:
- RALogObject, java.io.Serializable
- public class RACompareObject
- extends java.lang.Object
- implements RALogObject
- See Also:
- Serialized Form
|
Method Summary |
boolean |
bValue()
|
boolean |
compare()
Compares two comparable objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EQUALS
public static final int EQUALS
- See Also:
- Constant Field Values
LARGER
public static final int LARGER
- See Also:
- Constant Field Values
SMALLER
public static final int SMALLER
- See Also:
- Constant Field Values
LARGER_EQUALS
public static final int LARGER_EQUALS
- See Also:
- Constant Field Values
SMALLER_EQUALS
public static final int SMALLER_EQUALS
- See Also:
- Constant Field Values
RACompareObject
public RACompareObject(RAEqualityComparable a,
RAEqualityComparable b,
int compareType)
throws RAException
compare
public boolean compare()
throws RAException
- Compares two comparable objects. If one of them is null, the result is false. If both are null, the result is
obviously true.
- Throws:
RAException
bValue
public boolean bValue()
throws RAException
- Specified by:
bValue in interface RALogObject
- Throws:
RAException